package com.ybkj.daijia.server.partner;

import com.ybkj.daijia.server.model.Base;
import java.util.List;

/**
 * 合作伙伴
 *
 * @author Administrator
 */
public class Partner extends Base {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private Long categoryId;//主分类Id

    private Long intentId;//子分类Id

    private String name;//合作伙伴名称

    private String phone;//电话

    private String address;//地址

    private String city;//地址所在城市

    private String province;//地址所在省份

    private String county;//地址所在区县

    private Double lat;//地址所在纬度

    private Double lng;//地址所在经度

    private String intro;//内容介绍

    private String categoryName;    //主分类名称(临时字段)

    private String intentName;        //子分类名称(临时字段)

    private String categoryAlias;    //主分类别名(临时字段)
    private List<PartnerImg> list;    //图片集合(临时子段)

    public String getCategoryAlias() {
        return categoryAlias;
    }

    public void setCategoryAlias(String categoryAlias) {
        this.categoryAlias = categoryAlias;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getIntentName() {
        return intentName;
    }

    public void setIntentName(String intentName) {
        this.intentName = intentName;
    }

    public List<PartnerImg> getList() {
        return list;
    }

    public void setList(List<PartnerImg> list) {
        this.list = list;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getIntentId() {
        return intentId;
    }

    public void setIntentId(Long intentId) {
        this.intentId = intentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county == null ? null : county.trim();
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro == null ? null : intro.trim();
    }

    @Override
    public String toString() {
        return "Partner [categoryId=" + categoryId + ", categoryName=" + categoryName
            + ", intentId=" + intentId + ", intentName=" + intentName
            + ", name=" + name + ", phone=" + phone + ", address="
            + address + ", city=" + city + ", province=" + province
            + ", county=" + county + ", lat=" + lat + ", lng=" + lng
            + ", intro=" + intro + ", list=" + list + ", id="
            + id + ", created=" + created + ", updated=" + updated + "]";
    }

}